Hundreds of people lined the streets of Doncaster as the Tour of Britain cycle race came to the city.