Sounds like you may be dealing with a couple of different issues.Swim bladder disorder,maybe fin rot as well.Both of which can be corrected with clean fresh water.I would change the water 50% daily,adding Melafix to help repair the fins.You can add salt to the water as a tonic to rid them of parasites,fungus,bacterial infections,etc. Goldfish are good candidates for salt tonics,as long as you clean the water everyday,until they get better.It will take several weeks for them to improve.If in 1 week the black spots aren't improving and the split fin isn't healing,you may need to go to meds.
Don't worry about feeding (they can last a long time without food,and it will help reduce wastes to keep the water cleaner) keep the lights turned off,the goldfish will feel like they're hiding and be more comfortable,causing less stress,hopefully increasing the recovery.
Unless they have long,stringy clear feces,then I would rule out parasites for now,so I would stick to treatment for bacterial infections if they don't show improvement.Maracyn,Maracyn+ and Kenamyacin are good meds for fin rot and other bacterial infections.
see this thread for info:
Medications-ingredients-disease treated