For the project that you are trying to do, download the latest BoltIoT-Arduino-Helper library, and install it.
You can then navigate to the File>Examples>BoltIoT-Arduino-Helper>PushData
In the loop function, just replace
Where channel1 and channel2 are the analog pins you want to use.
Do remember, this example code uses the updated library function 'processPushDataCommand' instead of the old 'checkPoll' function, you have to configure your Bolt Cloud product with only 2 csv values and not 6.
The code will handle the rest.