Manchester City took on Real Madrid at the Etihad Stadium in the first leg of their Champions League knock-out play-off.