Your wife is suffering from infective conjunctivitis
in both eyes. However, since she is pregnant, most antibiotics are not recommended. Have her wash her eyes with luke warm water and wipe the discharge with a cotton ball soaked in warm water. Hopefully, the discharge will reduce in a few days and symptoms subside. Make sure she keeps a check on her vision by closing each eye alternately and checking how well she can see.