An agreement with Xcel Energy includes an investment in clean energy the utility provider says will help the state meet carbon-free goals.