This is coming from my standpoint as a Nurse Practitioner.
Life most foods, there is no harm in a child having an occasional cola. But neither children nor anyone else need anything but clean water as their usual means of remaining hydrated. Since water can be a bit boring, we have made various teas available to our children since they were young–mostly non-caffeinated fruit teas.