It is kind of difficult to imagine someone being exempted to pray for nine whole months. Of course a pregnant woman must pray.
And fasting is up to her health condition - and if she feels she is not able to fast, then she has to make those up later on when her health recovers.