A group of Venezuelan soldiers have been arrested after stealing weapons and calling for a coup against President Nicolas Maduro on social media.