They can -
1. right now you are not pregnant, they could simply laid you off with compensation according to the labour law
2. if you got pregnant, they could still laid you off - but need to pay you for the period upto 6 weeks after your delivery. so most employer will keep your there to until you delivered the baby and finish the maternity leave