Heat ghee in a kadhai.
Once the ghee melts, add semolina and roast till it starts giving a nice aroma and the color changes to light golden brown
Add cocoa powder. Mix it well.Now add the boiled water slowly and keep stirring the halwa.
Add sugar and green cardamom powder and mix well.Once the sugar mixes completely, cover the kadhai and let the halwa simmer for 2 more minutes. garnish halwa with the sliced almonds and cashewnuts. Serve hot.