Police say the bomb went off as rickshaws carrying schoolchildren home passed through Bannu city in Khyber Pakhtunkhwa.