A £100m deal to bring a fleet of nearly 200 electric buses has been signed by the West Yorkshire Combined Authority.