Weight loss & pregnancy

I started to loose weight a few months ago. Lost 30 lbs. Trying to loose nearly 100lbs to be healthy when I got pregnant but then surprise! I can already see I'm gaining weight again. Almost 10 weeks and feeling terrible and I'm already over 240lbs. Is there a safe way to loose weight while being pregnant?