Two worker was killed and four others sustained grievous injuries in an explosion in a boiler at an ordnance factory here on Tuesday.