Pep Guardiola described Manchester City's 2-1 win over Leicester as 'important' as they moved up to third in the Premier League.