You dont normally have to replace the pistons.. Just polish them with crocus cloth, clean and dry them, and lubricate them properly before reinserting them into the bore..
For the bore itself, you normally only have to polish it with crocus cloth and clean. Reinstall seals using brake fluid as a lubricant and then carefully pushing the piston back into the bore. You can use a fine feeler gauge if necessary to keep the seals from rolling as you work the piston back in.
If you have significant corrosion or scarring on either caliper bore or piston, then you may have to replace.
You dont need a compressor.. NEVER push a piston out with compressed air. Use, if you have nothing else, an old master cylinder set up as a brake fluid pump.. Do it with air and you may kill somebody.
About the only use for an air compressor in this job is to blow the items dry.