Palestinian officials say two Palestinians have been killed in an accidental explosion in a West Bank refugee camp .