Here are two nice documentation that address your raised questions:
NOTE: there is one important point that is not to perform overfitting while applying PCA and PLSR analyses.
Moreover, don't forget to perform variance analysis of how many principal components to choose.
