Sadly many people would get rid of their cats because of a pregnancy. but chances of a pregnant woman getting infected through a cat are not very common.
A very pregnant cat was turned up at a shelter. Her belly was so big that it was ready to pop. After an exam, they found five little kittens inside!.
It's perfectly fine to be around cats when you're pregnant, but you do need to be very careful about cleaning the litter box. Have someone else do it if possible.