Stagecoach has announced a multi-million-pound investment in an eco-driving system for its bus operations in Scotland, England and Wales.