Non-Gaussianities in two-field inflation