Manchester City beat Red Star Belgrade 3-2 in the Champions League after goals from Micah Hamilton and Oscar Bobb.