Generally speaking, to lose weight
calorie intake must be less than you burn with activity, and to gain weight
you must take in
more calories than you burn. This situation (being underweight and pregnant) is about the only time women have to work to get more calories, but to do so, find foods you like and eat a lot of them. Sometimes pregnant women lose their appetite, so this will be a very individualized thing.