From Maine to Massachusetts, state officials are targeting clean energy programs as a way to reduce costs for ratepayers.