The wires from the old cap should be color coded,,, connect a new cap of the correct value to the corresponding wire from the old can... bundle the new cap ground wires together, and connect them to the ground wire from the old can...
As stated previously, try to mount teh new caps, where the old can was, to help eliminate hum/noise...
Regards,
John