worried I'm losing too much weight

I am 18 weeks pregnant, and have lost 20 pounds since I found out I was pregnant. I am overweight, but still feel like its not healthy to lose this much weight when the baby is supposed to be growing?