Your question is clearly confused or confusing.
The ground (negative) for each part of the circuit must be connected, so the ground for the Arduino connects to the ground of the 595s which also connects to the source connection of the FETs which connects - of course - to the negative of the power supply which feeds the electromagnets.
Why would you PWM electromagnets? Making some "levitation" gadgets?