The deceased were identified as Amanullah, 11, a fifth grader of Gandari Primary School and son of late Badal Ahmed of Sutrapur Natunrasta and Rony, 30, son of late Tobarak Hossain of Sanarpara area.
Amanullah came in contact with a live electric wire when he was sitting on a gas pipeline near his residence, said an eye witness Jahingir Alam.
Later, he was taken to Dhaka Medical College Hospital (DMCH) where the duty doctor declared him dead around 12 pm, said Sub-inspector Md Bachhu Mia of the hospital police camp.
In another incident, the other victim Rony was electrocuted while he was repairing an internet connection on the foot-overbridge in Sonirakhra area of Jatrabari, said Nahid who witnessed the incident.
Later, locals took him to DMCH where the duty doctor declared him dead around 11 am, said the sub-inspector.