Default [Q] need help about how to backup app data

need help...how can i backup all my app data and the app itself?? and how to install the app again with the data...i have a lot of games in my phone but i need to install custom rom to it which will erase all my app and data...idont want to lose all my saved games