Is it safe to cycle when pregnant? 🚴‍♀️

I don't know if it's a dumb question but I don't feel like doing other forms of exercise and I've been soooooo sedentary in my pregnancy and eating very bad :(