Manchester City took the opportunity to get their title bid back on track with a 2-0 victory away to Crystal Palace.