A woman should keep fasts in pregnancy as well. But, if she fears her life or the life of the foetus, she is permitted not to fast. If a pregnant woman, misses the fasts due to some compulsion, she will only make up the missed fasts later, there is no kaffarah on her.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband