You can use the Cordova backbutton event by adding an event listener to it. This event is fired when the hardware back button is tapped. You can find more information regarding the event and sample code here
The code for navigation inside the backbutton event handler depends largely on the js framework you are using. If you are using Kendo Mobile, you can use the navigate() function. It provides functionality to navigate to remote and local views and to navigate back to the previous view. You can view and try out code samples of the navigate() function here
Depending on your scenario, you can also use the replace() method. It navigates to a chosen remote or local view, but also removes the current view from the navigation history. This means that the back button will skip the replaced view. You can see a code sample of the replace() function here
Let me know if these work for you. If you are having trouble with achieving your goal, please open a support ticket and provide us your project and clear instructions regarding what you want to achieve. We can review it and provide a more concrete solution.
I am looking forward to your reply.