With community edition, you have 2 options:
1. Deploy only data service on all nodes
2. Homogenously deploy all the services on all nodes (data, index, query)
Based on the command you have above, you cannot initialize only (data, index) services on the nodes because it is not one of the above options.
To get more flexibility (MDS feature of Couchbase), you should consider moving to enterprise edition.
Couchbase Server PM