They can only hear muffled sounds, it's around when your 5 or 6 months when they start to recognize you and your partners voice . this app will let you know when that time comes supposedly.
I have heard the baby can start hearing at 18 weeks but I'm not entirely sure since this is my first.