Decaffeinated Coffee

Hi all, is decaf coffee safe to drink while pregnant? I read somewhere that it goes through a process that’s not necessarily safe for the baby though I’m not sure if that’s true. Thoughts please? Thank you