The main cause of rapid expansion of rail networks under the Crown was easy or huge capital investments available for it's construction and less red-tapism of bureaucracy.
Apart that nothing was special - Bristish provided technology & natives were toiling hard.
Apart this Indian rail line workers were also taken to Africa by Britishers for railway construction, as they found Indians very good at rail line construction (especially Mistry community of Western India).
Thanks!