Kochi can be visited all year round. For backwater cruises and other attractions both summer and winter are good. But if you want to experience the beauty of Kerala in the rains or if you want an ayurvedic treatment then monsoon would be the ideal time to visit.