Sensex and Nifty50 Rise After Two-Day Decline