Currently, there's no way to recover only your text messages from iCloud backup. If you are trying to access data from your iCloud backup, then you can only do that by restoring the whole backup including all other backed up data apart from your text messages to your iPhone.