High-redshift clumpy discs and bulges in cosmological simulations