Manchester City midfielder Phil Foden has agreed a new contract at the Etihad, taking his stay at the club to 2027.