A 10-year-old cyclist has been taken to hospital after being hit by a bus in Hampshire, with police advising drivers to avoid the area.