Caffeine while pregnant

Is it okay to have one soda a day? I’ve been drinking only water since I found out I was pregnant, but the caffeine withdrawals are no joke, my head is pounding, so is it okay to just have one?