What happens if he didnt sign the birth certificate but is married to her?

The husband is presumed to be the father of any children conceived/born during the marriage, unless/until proven otherwise.