any kind of semiconductor material is not perfect. for eg. p type material have electron as impurity and n type material has holes as impurity. When reverse bias is applied i.e +ve voltage is applied to n side and -ve to the p side then impurities which are of opposite type got attracted and displced. This displacement or flow of opposite type of impurities create leakage current.