If you don't make the cocoa into a smooth paste before adding, it will almost certainly be lumpy. The recipe details how to do this, but basically you just mix the cocoa powder with a little milk and stir to make a paste before adding the rest of the liquid and ingredients together. Stirring also helps! If you've already added it and have lumps, whisking vigorously may help or otherwise you will need to strain it.