Manchester City boss Manuel Pellegrini says his side could have scored more goals in their 2-1 win against Swansea.