Mix the egg yolks and sugar together in the top of a bain-marie. Bring the milk to the boil. Add the milk to the egg and sugar mixture, alittle at a time, stirring constantly over a bain-marie until a custard is formed. Remove the custard from the heat and leave to cool.