Ensure that you dissolve the cocoa powder and cornflour in a little of the warm milk first. Whisk it together well to form a smooth paste like consistency before incorporating with the rest of the milk. Don't skip this step, it's important in making a smooth creamy hot chocolate.