Is it okay to burn more calories than you eat while pregnant?

I’m not trying to lose weight but I do love my exercise and am just wondering if it’s safe to burn more calories then I eat when pregnant? Or if I should eat more when I work out?