I take an empty gameobject and a script in which I just write below code to handle back button in android phone, but it's not working.
if (Input.GetKeyDown (KeyCode.Escape)){
// Escape button pressed
print("Escape");
}
Problem Solved. this code is working.