Place an ice machine on top of an ice bin, hook up a water pipe (only needed if pipeworks is installed), turn on the machine, and wait for the ice...
The resulting ice cubes can be crafted into ice blocks, and if you have technic then you can grind those into snow too.