I shortened your title from "Stereo on but no sound sound from speakers or power to amplifiers" so its simple & to the point.
First off, a ground wire would not cause spark, so you must mean you touched the power line. I assume you have one amp for the speakers and another for a sub or subs. Your amps should not share a power cable with anything else & should have their own dedicated inline fuse. If you didn't do this then make sure to do so. Have you inspected the fuses on each amp? Where did you source the power for the amps? WHat gauge wiring did you use? How many RMS watts are the amp rated for? Do the amp blink in red, potentially indicating they're in protection mode. Have you read/ look up the amp manuals? As you can tell, more details will be useful.