IPhone home button and top button broken. Are there any apps that can do their job?

If it helps, iPhone is JB'd.

Added (1). Don't have the money or resources to fix my buttons.

You can mimic both buttons with an already built-in function. Go to settings---general---accessibility then scroll down to assistive touch. Turn it on and a home button will appear on the screen. You have a few options of what to do each time you press it, including homescreen and lock (via device). Not sure how you unlock it though if both buttons are broken.