Congratulations!
I would continue riding but mountain biking and racing is out of the question because you can get injured.
Last year I punctured mu stomach with the brake lever and I was not even in a race. So I would recommend only flat easy trails, ride with caution and enjoy your pregnancy while keeping fit but in moderation. There will be time for racing afterwards.