The kind thing to do is to take it to a vet so that they can see if the cat is microchipped and contact the owners. Failing that, call the council, who will remove it but there's no guarantee that they'll check for a chip. I believe they are supposed to but gather that they don't always do it and then the poor owners will never know what happened.