PepsiCo reiterated its full-year outlook after its quarterly earnings and revenue topped estimates.