Riyad Mahrez curled in a lovely free-kick to give Manchester City a 1-0 lead over Chelsea in their Carabao Cup third round match.