Don't worry about weight gain/loss when you're pregnant! Your body is just doing what it needs to grow this tiny human being inside you, making sure you have enough nutrients and rest.
Remember that it's not just you and your baby's weight - there's also the placenta, amniotic fluid, umbilical cord and everything else that has weight too!