This is quite an unusual question. The uncontrollable bladder on coughing is called stress incontinence and in no way will hamper in getting you pregnant. But continuing the pregnancy with stress incontinence can he a trouble.
I would advise you to first get your coughing treated, well investigated and consult a Gynecologist and a Urologist as a Team so that the stress incontinence is treated well before you want to be pregnant.
I hope this gives you the answer as well as the precautions you should take.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.