Manchester City boss Pep Guardiola says Raheem Sterling has recovered from his hamstring injury and is ready to face Real Madrid on Wednesday.