A powerful bomb reportedly exploded near a railway track in Pakistan on Sunday, killing over two dozen people.