In the second game of their doubleheader against Tampa Bay yesterday, the Yankees picked up 20 hits. And in today's game, they had 25. The Phillies had 26 hits against the Dodgers Tuesday night.
According to the Baseball-reference.com's Play Index, there have been just five other teams to string together back-to-back 20+ hits games in the last 50 years. The last team to do it was the Cubs back in 2003. The 45 total hits in consecutive games is more than any of the other teams listed in the link above.
The Sporting News Record Book lists a record for hits in "consecutive games and doubleheaders", but then only lists records for doubleheaders. The AL record for most hits in a doubleheader is by the 1939 Yankees, who had 43 against Philadelphia on June 28. The Yankees had 27 hits in the opener and 16 in the nightcap, winning 23-2 and 10-0. The Bombers hit 8 homers in the first game and 5 in the nightcap. The 1939 Philadelphia A's gave up 1,022 runs, so they have much in common with the 2007 Tampa Bay Devil Rays, who are on a pace to give up the same number of runs. Of the Yankees 43 hits in that doubleheader, none of them were triples. Of the 45 hits the last two days, the Yankees had one triple, by Robinson Cano on Sunday.
The NL record for hits in a doubleheader is 46 by the Pirates against the Phillies on August 8, 1922.