one of my friends developed a kidney infection while she was newly pregnant and then again when she was later into her pregnancy
both times, she was on morphine in the hospital and she was also on antibiotics
throughout her pregnancy. She had a healthy little girl who is doing great. I think that the only thing that you can do is ask questions, if they think you should be on it, take it, if you are nervous get a second opinion. Good luck to you.