(Reuters) - Wal-Mart Stores Inc on Tuesday forecast a 40 percent rise in U.S. online sales next year as it ramps up competition with Amazon.com Inc , boosting shares of world's biggest brick-and-mortar retailer to the highest in more than two years.