The large majority of hotels offer a Wi-Fi connection. In some cheaper hotels, access is only available in the reception. The speed will vary depending on the quality and location of the hotel. Remember that some websites are blocked in China, and to be able to access them, you will need a VPN.