It depends, if the whole journey is under one PNR and you have the boarding the pass issued to Doha from Kochi itself....your baggage deposited at Kochi would be taken automatically to Doha....