Logan Webb pitched seven innings and the San Francisco Giants extended their winning streak to five with a 4-2 win over the Kansas City Royals.