The resistance of a 12V coil is typically below 4 Ohm, for a 24V coil we're talking about 15 to 20 Ohm.
This means that were you planning to use a 12V coil on a 24V system, you would have a peak current of 6+ A.
This gets worse if your voltage rises to 27-28V (on mobile machines).
Depending on the type of pump, you might be able to change the coils to the rated voltage. To me, that's the preferred option.
Second option is to bring the controller to 12 Volt supply.
If that also is not an option, one could opt to install shunt resistors to limit the current peaks but that might might cause other issues as you probably need a +1.5 A max current to get the pump on max displacement. With a shunt in the region of 12 Ohm, that would mean a resistor that takes 20-25 Watt .