I've always used frozen water bottles which they love to lay against, but this year I was thinking of getting some of those ice box pack thingys that you put in the freezer and making some pouches so they're piggy safe.
If they're outdoor piggies always make sure their hutches are in the shade, especially during the hottest part of the day.