I suggest you get black mollies vs. goldfish. These are one of the hardest fish to kill, and a staple of tank cycling. Goldies often carry disease and can infect your system for good fish.

I don't think pH killed your cats.