Can you provide a quick sketch of your pneumatics system with the part numbers of solenoids?
The simplest solution is to use digital pins on the Arduino to trigger a relay or MOSFET that switches 12V (or 24V) to your pneumatics solenoid "on" or "off". Depending on your setup, you may need two circuits.
Here is a video that demonstrates this.