The main gas supply line to Narsingdi was damaged during construction work on a drain, according to Titas Gas authorities
The incident took place on the Dhaka bypass road near Jhajar area in the municipality around 1:15am on Thursday, said Md Akhtaruzzaman, deputy director of Gazipur Fire Service Station.
The dead have been identified as truck driver Rubel Mia, 30, and his assistant Jahangir Alam, 50. Both of them hailed from Bhola.
The tuck was electrified immediately and its tyres caught fire. The driver died on the spot and his assistant died on the way to hospital.
Firefighters from Joydebpur Fire Service Station brought the fire under control and took the bodies to Shaheed Tazuddin Ahmad Medical College and Hospital in Gazipur.