Plans to build a geothermal power plant in Cornwall have been backed with a government grant of nearly £1.5m.