A total of £26.8 million ($39 million) has been raised for two anaerobic digestion plants in Northern Ireland that run on animal waste.