We have no clue how to code pneumatics for two pistons.
Are the two pistons activating together? If so, you should be able to use the same code you used for one piston. The only difference would be splitting the solenoid output amongst both pistons.