Prepare rice according to package directions. In a skillet over medium heat, cook onions, celery, and garlic until crisp-tender. Add pinto beans, tomato sauce, water, ketchup, chili powder, and hot pepper sauce. Heat thoroughly, stirring occasionally. Serve over hot rice.