WHAT! I never knew you were even pregnant...
(actually, the old stand-by always sounds correct: Congratulations, she's/he's adorable)
Depending on the circumstances either congratulations or I'm sorry should work.
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them