If calendar events on your iPhone do not appear in your calendar on icloud.com, go to Settings>Mail,Contacts,Calendars>Default Calendar and make sure you have selected an iCloud calendar as your default, and not something else like On My iPhone, Gmail, Yahoo or and exchange account.