Cleaning up cat fecal matter can be very tricky. Cat urine is much more difficult to clean than that of dogs or humans. Due to its complex makeup it requires an enzyme product to break down the proteins.
Most times carpet and padding have to be removed and possibly even some drywall. It just depends how long the cats have been causing damage. Luckily in most cases carpet can be saved if properly cleaned but requires finesse.
If you’re having trouble cleaning up cat urine or feces or can’t get rid of odor then you may want to consider contacting a professional clean up company that can decontaminate the area and remove any lingering smell.