Carpet cleaning chemicals will definitely not harm your cat as long as he drinks them. You can find quality and safe carpet cleaners on this blog https://spotcarpetcleaners.com/reviews/best-hand-vacuums-2016/. There are powders, shampoos for carpet cleaning. Most often you need a good vacuum cleaner for cleaning.