Bissell vacuum cleaner washes carpets and washes sofas, it is very good and has two attachments, one head washes sofas and the second head is for windows.
It is excellent and the vacuum cleaner itself washes carpets.
Its method is to fill it with liquid soap specifically for it, and it is available everywhere. Any liquid for carpets will wash it.