I took a vessel with insulated walls and add water in it, heated up by burning the biogas in stove and note the initail and final temperature and noted down the amount of gas burnt and calculated as:
heat content of vessel+heat content of water= approximate heat content of biogas without considering the heat loss.