Funding of £20m each for Coleraine and Derry follows a previous commitment that had been suspended.