Indian Railways will keep 2,500 diesel engines for emergencies and strategic use while aiming for full track electrification.